home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / boot / sunprom / RCS / stubs.c,v < prev    next >
Encoding:
Text File  |  1991-06-14  |  1.9 KB  |  152 lines

  1. head     1.5;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    mendel:1.5; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.5
  10. date     90.07.17.15.42.28;  author mendel;  state Exp;
  11. branches ;
  12. next     1.4;
  13.  
  14. 1.4
  15. date     89.01.06.08.14.47;  author brent;  state Exp;
  16. branches ;
  17. next     1.3;
  18.  
  19. 1.3
  20. date     87.05.08.17.48.07;  author brent;  state Exp;
  21. branches ;
  22. next     1.2;
  23.  
  24. 1.2
  25. date     86.07.21.09.37.33;  author brent;  state Exp;
  26. branches ;
  27. next     1.1;
  28.  
  29. 1.1
  30. date     86.07.18.09.34.15;  author brent;  state Exp;
  31. branches ;
  32. next     ;
  33.  
  34.  
  35. desc
  36. @Stubs for the boot program.
  37. @
  38.  
  39.  
  40. 1.5
  41. log
  42. @*** empty log message ***
  43. @
  44. text
  45. @#include "sprite.h"
  46. #include "machMon.h"
  47.  
  48. printf(format, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
  49.     char *format;
  50.     Address arg1;
  51.     Address arg2;
  52.     Address arg3;
  53.     Address arg4;
  54.     Address arg5;
  55.     Address arg6;
  56.     Address arg7;
  57.     Address arg8;
  58.     Address arg9;
  59.     Address arg10;
  60. {
  61. #ifndef NO_PRINTF
  62.     Mach_MonPrintf(format, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9,
  63.                arg10);
  64. #endif
  65. }
  66.  
  67. panic(string)
  68.     char *string;
  69. {
  70. #ifndef NO_PRINTF
  71.     Mach_MonPrintf("Panic: %s\n", string);
  72. #endif
  73.     (romVectorPtr->abortEntry)();
  74.  
  75. }
  76. @
  77.  
  78.  
  79. 1.4
  80. log
  81. @New include files and constants due to source reorganization
  82. @
  83. text
  84. @d4 1
  85. a4 1
  86. Sys_Printf(format, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
  87. d17 1
  88. d20 1
  89. d23 1
  90. a23 2
  91. Sys_Panic(type, string)
  92.     int type;
  93. d26 1
  94. d28 3
  95. a30 1
  96.     Mach_MonTrap(romVectorPtr->abortEntry);
  97. @
  98.  
  99.  
  100. 1.3
  101. log
  102. @Had to fix Mon_Abort, no longer a macro
  103. @
  104. text
  105. @d2 1
  106. a2 1
  107. #include "sunMon.h"
  108. d17 1
  109. a17 1
  110.     Mon_Printf(format, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9,
  111. d25 2
  112. a26 2
  113.     Mon_Printf("Panic: %s\n", string);
  114.     Mon_Trap(romVectorPtr->abortEntry);
  115. @
  116.  
  117.  
  118. 1.2
  119. log
  120. @Only has Sys_Printf and Sys_Panic now.
  121. @
  122. text
  123. @d26 1
  124. a26 1
  125.     Mon_Abort();
  126. @
  127.  
  128.  
  129. 1.1
  130. log
  131. @Initial revision
  132. @
  133. text
  134. @a3 5
  135. FsFileBlockIO()
  136. {
  137.     return;
  138. }
  139.  
  140. a26 10
  141. }
  142.  
  143. Fs_AttachDisk()
  144. {
  145.     return;
  146. }
  147.  
  148. Fs_BlocksToSectors()
  149. {
  150.     return;
  151. @
  152.